---
title: Case Search
summary: Landing screen for searching legal cases by SSN, claim number, worker name, policy number, or check number.
status: draft
owner: <owner>
last_reviewed: 2026-08-21
---

# Case Search

Case Search is the application's landing screen (`frmCaseSearch.aspx`). Users search for legal cases by SSN, claim number, worker name, policy number, or check number; results display in a grid, and selecting a row establishes claim context and navigates to case-context screens via the side menu.

## Entry conditions
- Application entry point: `Default.aspx` auto-redirects here on load (verified: `Legal/Default.aspx.vb:20`).
- Also reachable at any time from the `SAIFMenu` side menu on any other screen.

## Fields

| Field | Control type | Purpose | Validation |
| --- | --- | --- | --- |
| `radSSN` | RadioButton | Search by SSN | — |
| `radClaim` | RadioButton | Search by Claim # | — |
| `radName` | RadioButton | Search by Name | — |
| `radPolicy` | RadioButton | Search by Policy # | — |
| `radCheck` | RadioButton | Search by Check # | — |
| `strSSN` | TextBox | SSN input (masked xxx-xx-xxxx) | Client-side jQuery mask |
| `strClaim` | TextBox | Claim number input | — |
| `strLastName` | TextBox | Last name input | — |
| `strFirstName` | TextBox | First name input | — |
| `strPolNum` | TextBox | Policy number input (masked) | — |
| `strCheckNum` | TextBox | Check number input | — |
| `cbIncludeClosed` | CheckBox | Include closed cases in results | — |
| `dgResultsGrid` | ig:WebDataGrid | Search results (CaseNumber, ClaimNumber, ClaimantSSN, ClaimantName, HearingDate, CaseStatus, Attorney, Issues, PolicyName, RequestedBy) | — |
| `hfGridHeight` / `hfGridWidth` | HiddenField | Grid resize preference persistence | — |

## Operations

| Operation | Trigger | Description |
| --- | --- | --- |
| Search | `btnSearch` click (`searchClick`) | Builds search criteria from radio/text inputs, calls `Manager.GetSearchResults()`, binds grid |
| Search via Enter | Menu submit (`MyMaster_SaifMenu_DefaultOnSubmit` → `searchClick`) | Enter key triggers search |
| Print results | Toolbar Print (`MyMaster_SaifMenuTop_ToolbarClick`) | Generates `Legal_Print_CaseSearch` report via `PrintReport()` |
| Save preferences | Toolbar PrefsSet | Saves grid column/size preferences |
| Clear preferences | Toolbar PrefsClear | Resets preferences |
| Select case | Row select (client-side `dg_AfterRowSelect` in `Legal.js`) | Sets claim/case context and navigates to a case-context screen* |

## Business rules

| Rule ID | Rule | Enforcement | Source |
| --- | --- | --- | --- |
| [BR-CLM-LGL-004](../libraries/saif-business-claim-legal/business-rules.md#br-clm-lgl-004-case-search-input-must-match-search-type-format) | Search criteria are validated via `clsObjectBindManager.Validate()` against the format required by the selected search type (SSN, claim #, policy #, etc.) | `clsCaseSearchCriteria` | `Legal/frmCaseSearch.aspx.vb:99` |
| [BR-SCR-001](../application/business-rules.md#br-scr-001-case-search-ssn-input-is-client-side-masked) | SSN masked input is enforced client-side via a jQuery mask plugin | Client-side script | `Legal/frmCaseSearch.aspx` |

## Infragistics components

| Control ID | Control type | SAIF wrapper | Infragistics base | Purpose |
| --- | --- | --- | --- | --- |
| `dgResultsGrid` | `ig:WebDataGrid` | — | `Infragistics.Web.UI.GridControls.WebDataGrid` (v11.1) | Displays case search results with Selection (single row), Activation, and Sorting behaviors |
| (grid) | `igui:WebResizingExtender` | — | Infragistics35.WebUI.WebResizingExtender.v11.1 | Allows the user to resize the results grid |

## Navigation

| Target | Trigger | Parameters |
| --- | --- | --- |
| [Case Summary](frm-summary.md), [Schedule](frm-schedule.md), [Request](frm-request.md), and other case-context screens | Row select in `dgResultsGrid`, then `SAIFMenu` navigation | Claim/case context set client-side* |
| Print Preview (`frmPrintPreview.aspx`, utility page) | Toolbar Print button | Report package `Legal_Print_CaseSearch` |

## Screen flow diagram

The diagram shows Case Search's direct navigation targets: any case-context screen (reached by row select then menu navigation) and the print preview popup.

```mermaid
flowchart TD
    search[Case Search]
    summary[Case Summary]
    schedule[Schedule]
    request[Request]
    other[Other case-context screens]
    print[Print Preview]

    search -->|Row select + menu| summary
    search -->|Row select + menu| schedule
    search -->|Row select + menu| request
    search -->|Row select + menu| other
    search -->|Toolbar print| print
```

## API calls

No direct HTTP/WCF calls from the code-behind; search data is retrieved via `clsCaseSearchManager.GetSearchResults()` in the business layer.

---

> **Note:** Statements marked with `*` were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with `**` could not be confirmed; treat as unknown until verified.

## Sources
- `Legal/frmCaseSearch.aspx`
- `Legal/frmCaseSearch.aspx.vb`
- `Legal/Scripts/CaseSearch.js`
- `Legal/Scripts/Legal.js`
